/**
  ETFRoot project, Anyang Normal University && IMP-CAS
  \class ETFPIDManager
  \brief to manage particle identification (PID) objects in ETFAna
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2021-12-13
  \date 2021-12-13 last modified
  \attention
  changelog
  <table>
  <tr>  <th>Date         <th>Author      <th>Description                   </tr>
  <tr>  <td>2021-12-13   <td>Asia Sun    <td>file created                  </tr>
  </table>

  \copyright Copyright (c) 2021 Anyang Normal U. && IMP-CAS with LGPLv3 LICENSE
*/

#ifndef ETFPIDManager_h
#define ETFPIDManager_h

#include <Rtypes.h>

class ETFPID;

class ETFPIDManager{
public:
  static ETFPIDManager *Instance();
  virtual ~ETFPIDManager();

  virtual void Register();
  ETFPID *GetPID();

  ClassDef(ETFPIDManager, 0);

protected:
  ETFPIDManager();

  static ETFPIDManager *fInstance;
  ETFPID *fPID;
};

#endif
